package com.hdoit.apollo.logical.cargo.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.hdoit.apollo.logical.cargo.model.StandardPropertyUser;
import com.tennetcn.data.dao.base.IMapper;

/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年04月02日 11:14:00
 * @comment
 */
@Repository(value="standardPropertyUserMapper")
public interface StandardPropertyUserMapper extends IMapper<StandardPropertyUser>{

	List<StandardPropertyUser> queryListByCargoId(@Param("cargoId") String cargoId);

	

	StandardPropertyUser queryModelByStandardUserIdAndCargoIdAndPropertyId(@Param("standardUserId")String standardUserId, @Param("cargoId")String cargoId,@Param("propertyId") String propertyId);



	StandardPropertyUser queryModelByStandardUserIdAndCargoIdAndName(@Param("standardUserId")String standardUserId,@Param("cargoId") String cargoId, @Param("otherPropertyName")String otherPropertyName);

}